using Web.App.Infrastructure.ApplicationMessages.Contracts;
using Webshop20.Application.DataTransferObjects;

namespace Webshop20.Application.Queries.Messages
{
    public class GetCustomerInformationResponse : ResponseMessageBase
    {
        private CustomerDTO customer;

        public GetCustomerInformationResponse(IDomainMessage domainMessage, CustomerDTO customer) : base(domainMessage)
        {
            this.customer = customer;
        }

        public CustomerDTO Customer
        {
            get { return customer; }
        }
    }
}